package com.vcredit.creditcat.service;
import com.vcredit.creditcat.model.RepaymentplainItem;
import com.vcredit.creditcat.persistence.base.RepaymentplainItemMapper;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
 * 
 **/
@Service
public class RepaymentplainItemService {
	@Autowired
    private RepaymentplainItemMapper mapper;
    
    public void insert(RepaymentplainItem obj){
    	mapper.insert(obj);
    }
    
    public void update(RepaymentplainItem obj){
    	mapper.update(obj);
    }
    
    public List<RepaymentplainItem> findAll(){
		return mapper.findAll();
	}
	
	public List<RepaymentplainItem> find(RepaymentplainItem obj){
		return mapper.find(obj);
	}

	public void batchInsert(List<RepaymentplainItem> repaymentplainItems) {
		mapper.batchInsert(repaymentplainItems);
	}
}